// Some suggestion about err

#include <iostream>
#include <cstdio>
using namespace std;

class A {
	public:
		A( ) { }
	// private:	err
		A( const A& that ) { cout << "A( const &A that )" << endl; }
	// private:	err
		~A( ) { }
};

// designer
// ------------------------------------------------------------------
// user

void foo( ) {
	A a;
	throw A( );
}

int main( void ) {

	try {
		foo( );
	}
	catch( A& e ) {
		// ...
	}

	return 0;
}

